module.exports = {
  productionSourceMap: false,
  lintOnSave: false,
  publicPath:'./',
	outputDir: 'dist',
  devServer: {
    port: 8081,
    proxy: {
      "/gisgpt": {
        target: "http://101.227.48.161:7000",
        changeOrigin: true,
        ws: false,
        // pathRewrite: {
        //   "^/api": ""
        // }
      }
    }
  },
  configureWebpack: {
    // 把原本需要写在webpack.config.js中的配置代码 写在这里 会自动合并
    externals: {
     'echarts': 'echarts',
     'axios' : 'axios'
    }
  }
};
